<template>
  <div class="topnav">
    <div class="left">
      <router-link to="/">轱辘UI</router-link>
    </div>
    <ul class="right">
      <li><router-link to="/doc">文档</router-link></li>
      <li>捐款</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "TopNav",
  data() {
    return {};
  },
  components: {},
  methods: {},
  mounted() {},
};
</script>

<style scoped>
.topnav {
  padding: 16px 0;
  background-color: pink;
  display: flex;
  height: 3.8rem;
  
}
.left {
  max-width: 6em;
  margin-right: auto;
  padding: 0 0.5em;
  display: flex;
  align-items: center;
}
.left a {
  text-decoration: none;
  color: black;
}
.right {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
}
.right li {
  padding: 0 0.5em;
  display: flex;
  align-items: center;

}
.right li a{
    text-decoration: none;
    color: black;
}
</style>